package org.tis.tools.gateway.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * describe: 权限服务接口
 *
 * @author zhaoch
 * @date 2018/8/28
 **/
public interface PermissionService {
    boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
